<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 10:08:01
         compiled from "..\application\views\home\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1063555532281d10369-49788266%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b739f6c838969b3e32743d8118a63eeabf4bc435' => 
    array (
      0 => '..\\application\\views\\home\\header.tpl',
      1 => 1431506089,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1063555532281d10369-49788266',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'category' => 0,
    'i' => 0,
    'c' => 0,
    'child' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_55532281ea5843_54125479',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55532281ea5843_54125479')) {function content_55532281ea5843_54125479($_smarty_tpl) {?><html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<title>机械电子工程学院</title>
	<link rel="shortcut icon" href="<?php echo base_url();?>
/Public/img/favicon.ico" /> 
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>
/Public/css/home.css">
</head>
<body>
<div id="header">
	<div class="container">
		<a href="http://202.115.22.76" target="_blank" style="font-size:12px;color:#fff;float:right;">旧版入口</a>
		<a href="<?php echo site_url('home');?>
" class="logo" title="机械电子工程学院" >
			<img src="<?php echo base_url();?>
/Public/img/logo_new.png">
		</a>
		<div class="slogan">
			<img src="<?php echo base_url();?>
/Public/img/slogan.png">
		</div>
	</div>
</div>
<div id="navi">
	<div class="container">
		<ul class="navigations">
		<?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("0", null, 0);?>
		<?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['c']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value) {
$_smarty_tpl->tpl_vars['c']->_loop = true;
?>
		<?php if ($_smarty_tpl->tpl_vars['i']->value<10) {?>
			<li class="navigation">
				<a href="<?php echo site_url("home/Judge?Id=".((string)$_smarty_tpl->tpl_vars['c']->value['Id']));?>
"><?php echo h($_smarty_tpl->tpl_vars['c']->value['CateName']);?>
</a>
				<?php if (!empty($_smarty_tpl->tpl_vars['c']->value['Child'])) {?>
				<ul class="sub-navi">
				<?php  $_smarty_tpl->tpl_vars['child'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['child']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['c']->value['Child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['child']->key => $_smarty_tpl->tpl_vars['child']->value) {
$_smarty_tpl->tpl_vars['child']->_loop = true;
?>
					<?php if ($_smarty_tpl->tpl_vars['child']->value['CateName']!='院友注册'&&$_smarty_tpl->tpl_vars['child']->value['CateName']!='院友登录') {?>
					<li class="">
						<a href="<?php echo site_url("home/Judge?Id=".((string)$_smarty_tpl->tpl_vars['child']->value['Id']));?>
" ><?php echo h($_smarty_tpl->tpl_vars['child']->value['CateName']);?>
</a>
					</li>
					<?php }?>
				<?php } ?>
				</ul>
				<?php }?>
			</li>
		    <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable(((string)($_smarty_tpl->tpl_vars['i']->value+1)), null, 0);?>
		    <?php }?>
			<?php } ?>
		</ul>
		<div class="search-btn">
			<img class="search-show" src="<?php echo base_url();?>
Public/img/searchBtn.png" title="点击搜索">
			<div class="search-text">
				<form action="<?php echo site_url('home/Search');?>
" method="post">
					<input type="text" name="search" placeholder="新闻搜索...">
				</form>
			</div>
		</div>
	</div>
</div>
<?php }} ?>
